package com.ltu.domain.mp_entity.customize;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.ltu.domain.BaseEntity;
import lombok.experimental.Accessors;

/**
 * <p>
 * 设备
 * </p>
 * @author 若尘
 * @since 2024-09-26
 */
@Data
@Accessors(chain = true)
@TableName("t_device")
@ApiModel(value="DeviceEntity对象", description="设备")
public class DeviceEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

		  @ApiModelProperty(value = " device_name:设备名称 ")
		 		  private String deviceName;
    	  @ApiModelProperty(value = " device_no:设备ID ")
		 		  private String deviceNo;
    	  @ApiModelProperty(value = " device_code:设备编码 ")
		 		  private String deviceCode;
    	  @ApiModelProperty(value = " online_state:是否在线0否1是默认0 ")
		 		  private Boolean onlineState;
    	  @ApiModelProperty(value = " device_ip:ip ")
		 		  private String deviceIp;
    	  @ApiModelProperty(value = " device_area:场地 ")
		 		  private String deviceArea;
    	  @ApiModelProperty(value = " device_position:具体位置 ")
		 		  private String devicePosition;
    	  @ApiModelProperty(value = " coordinates:坐标 ")
		 		  private String coordinates;
    	  @ApiModelProperty(value = " create_time:创建时间 ")
		 		  private Date createTime;
    	  @ApiModelProperty(value = " create_user:创建人 ")
		 		  private String createUser;
    	  @ApiModelProperty(value = " update_time:最后一次新时间 ")
		 		  private Date updateTime;
    	  @ApiModelProperty(value = " updator:更新人 ")
		 		  private Integer updator;
    	  @ApiModelProperty(value = "设备所属类型，如政务，商务，教育等")
    	  private String deviceType;
    	  @ApiModelProperty(value = " online_time:最近一次上线时间 ")
		 		  private Date onlineTime;
    	  
    		/**
		 * 设备名称
		 */
	    public String getDeviceName() {
	        return deviceName;
	    }
		/**
		 * 设备名称
		 */
	    public DeviceEntity setDeviceName(String deviceName) {
	       this.deviceName = deviceName;
	        return this;
	    }
		/**
		 * 设备ID
		 */
	    public String getDeviceNo() {
	        return deviceNo;
	    }
	    
		/**
		 * 设备ID
		 */
	    public DeviceEntity setDeviceNo(String deviceNo) {
	       this.deviceNo = deviceNo;
	        return this;
	    }
		/**
		 * 设备编码
		 */
	    public String getDeviceCode() {
	        return deviceCode;
	    }
		/**
		 * 设备编码
		 */
	    public DeviceEntity setDeviceCode(String deviceCode) {
	       this.deviceCode = deviceCode;
	        return this;
	    }
		/**
		 * 是否在线0否1是默认0
		 */
	    public Boolean getOnlineState() {
	        return onlineState;
	    }
		/**
		 * 是否在线0否1是默认0
		 */
	    public DeviceEntity setOnlineState(Boolean onlineState) {
	       this.onlineState = onlineState;
	        return this;
	    }
		/**
		 * ip
		 */
	    public String getDeviceIp() {
	        return deviceIp;
	    }
		/**
		 * ip
		 */
	    public DeviceEntity setDeviceIp(String deviceIp) {
	       this.deviceIp = deviceIp;
	        return this;
	    }
		/**
		 * 场地
		 */
	    public String getDeviceArea() {
	        return deviceArea;
	    }
		/**
		 * 场地
		 */
	    public DeviceEntity setDeviceArea(String deviceArea) {
	       this.deviceArea = deviceArea;
	        return this;
	    }
		/**
		 * 具体位置
		 */
	    public String getDevicePosition() {
	        return devicePosition;
	    }
		/**
		 * 具体位置
		 */
	    public DeviceEntity setDevicePosition(String devicePosition) {
	       this.devicePosition = devicePosition;
	        return this;
	    }
		/**
		 * 坐标
		 */
	    public String getCoordinates() {
	        return coordinates;
	    }
		/**
		 * 坐标
		 */
	    public DeviceEntity setCoordinates(String coordinates) {
	       this.coordinates = coordinates;
	        return this;
	    }
		/**
		 * 创建时间
		 */
	    public Date getCreateTime() {
	        return createTime;
	    }
		/**
		 * 创建时间
		 */
	    public DeviceEntity setCreateTime(Date createTime) {
	       this.createTime = createTime;
	        return this;
	    }
		/**
		 * 创建人
		 */
	    public String getCreateUser() {
	        return createUser;
	    }
		/**
		 * 创建人
		 */
	    public DeviceEntity setCreateUser(String createUser) {
	       this.createUser = createUser;
	        return this;
	    }
		/**
		 * 最后一次新时间
		 */
	    public Date getUpdateTime() {
	        return updateTime;
	    }
		/**
		 * 最后一次新时间
		 */
	    public DeviceEntity setUpdateTime(Date updateTime) {
	       this.updateTime = updateTime;
	        return this;
	    }
		/**
		 * 更新人
		 */
	    public Integer getUpdator() {
	        return updator;
	    }
		/**
		 * 更新人
		 */
	    public DeviceEntity setUpdator(Integer updator) {
	       this.updator = updator;
	        return this;
	    }
		/**
		 * 最近一次上线时间
		 */
	    public Date getOnlineTime() {
	        return onlineTime;
	    }
		/**
		 * 最近一次上线时间
		 */
	    public DeviceEntity setOnlineTime(Date onlineTime) {
	       this.onlineTime = onlineTime;
	        return this;
	    }




}
